package model.entityes.exception;

import model.UserException;

public class UserContentException extends UserException
{
    private static final long serialVersionUID = 1L;
    
    public static UserContentException getExceptionWhitUserMessage(String userMessage)
    {
	if( userMessage == null) userMessage = "";
	UserContentException err = new UserContentException();
	err.setUserException(userMessage);
	return err;
    }
    
    public static UserContentException errorIdEqNull()
    {
	return UserContentException.getExceptionWhitUserMessage("Error: ID == null");
    }

}
